package model.events;

import java.util.EventListener;

import model.entity.Entity;

/**
 * The listener interface for listening to entity modification events.
 * 
 * @author Ryan Cheatham
 * 
 * @param <T>
 *          The type of entity to be listened to.
 */
public interface EntityModifiedListener<T extends Entity> extends EventListener
{
  /**
   * Invoked when the entity is modified.
   * 
   * @param event
   *          The {@link EntityModifiedEvent} that contains the data on this event.
   */
  public void entityModified(EntityModifiedEvent<T> event);
}
